package cn.bupt.adt.service;

import java.util.List;

import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Service;

import cn.bupt.adt.entity.autogenerate.CheckInsti;
import cn.bupt.adt.entity.autogenerate.Institution;
import cn.bupt.adt.model.CheckInstitutionModel;

@Service
public interface ICheckInstitutionService {

	List<CheckInsti> getAllInstitutions();

	boolean addInstitution(CheckInsti ins, HttpServletRequest request);

	boolean deleteInstitutionById(int id);

	boolean modifyInstitution(CheckInsti ins, HttpServletRequest request);

	CheckInstitutionModel getInstitutionById(int id);

}
